package br.com.brazillog.store;

import java.util.List;
import java.util.Map;

import br.com.brazillog.security.error.ApplicationException;

/**
 * 
 * @author Gabriel Cardelli
 *
 * @param <T>
 */
public interface Store<T> {

	public void save(T object) throws ApplicationException ;
	public void update(T object);
	public void merge(T object);
	public void delete(Object id);
	public T load(Object id);
	public List<T> list();
	public List<T> list(Map Params);
	
}
